<html>
	<head>
		<load href="__JS__/menu.js" />
		<load href="__JS__/leftmenubar.js" />
		<load href="__CSS__/header.css" />
	<load href="__JS__/jQuery/jquery.js" />
	<link  rel="stylesheet" href="__CSS__/collegedetail_style.css" type="text/css"> 
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<load href= "__JS__/jshelper.js" />
		<title>添加学生</title>
			<script type="text/JavaScript">
					window.onload=show;
			</script>
	</head>
	<body>
	<layout name="Auth:header" />
	<div  class="nowposition">
		当前位置：
			<a href='__APP__/index/index' class="nowpositionhref">主页</a>>
			<a href='__URL__/index' class="nowpositionhref">后台管理</a>>
			<a href='__URL__/classdetail' class="nowpositionhref">教学班管理</a>>
			<a href='__URL__/classfile/id/{$id}' class="nowpositionhref">学生管理</a>>
			<a href="" class="nowpositionhref">添加学生</a>
	</div>
		<layout name="Auth:leftmenu" />
	<div class="addstudent">
		<div style=" width:790px; position:relative; left:210px;" align="left">
          <form method="get" action="__URL__/addstudent/id/{$id}" >
            工号/学号：
      <input type="text" name="no">
            姓名:
            <input type="text" name="name">
            所在院系：
            <select name="dname">
              <option value =></option>
              <volist name='deplist' id='vo'>
                <option value =	{$vo.name}>{$vo.name}</option>
              </volist>
            </select>
            <input name="submit" type="submit" value="查询">
          </form>
	  </div>
	  <div  style="width:68%; position:relative; left:210px;">
		<table width="100%" h border="0" align="center" cellpadding="0px" cellspacing="0px">
				<thead style="background-color:f0f0f0;">
					<tr style="height:35px;">
						<td>工号</td>
						<td>姓名</td>
						<td>权限</td>
						<td>院系</td>
					</tr>
				</thead>
				<load href"__PUBLIC__/js/list_show.js">
				<form id="form1" name="form1" method="post" action="__URL__/student_add"> 
				<tbody id="tab">
					<volist name='list' id='vo' >
						<tr style="height:35px;">
						<if condition="$vo.isselect eq 0">
						<td><input type='checkbox' name='no[]' value="{$vo.no}">{$vo.no}</td>
						<else/>
						<td style="width:180px;">{$vo.no}(已添加)</td>
						</if>
							<td style="width:180px;">{$vo.name}</td><!--姓名-->
							<td style="width:180px;">{$vo.role}</td><!--权限-->
							<td style="width:180px;">{$vo.dname}</td><!--院系-->
							<input type='hidden' name='classid' value={$id}>
						</tr>
					</volist>
				</tbody>
				<input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=1;" value='全选'>|
				<input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=0;" value='取消全选'>|
				<input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=!this.form[i].checked;" value='反选'>  
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit" value="添加学生"  align="right" style="width:80px; color:blue;"> 
				</form>
	  </table>
	  </div>
		<div class="green-black" style="position:relative; top:15px; left:785px; width:120px; display:inline">{$page}</div>
	</div>
	</body>
</html>